using System;
using Domain;
using Interfaces;

namespace WcfService
{
	public class PersonService : IPersonService
	{
		public string GetFullName(IPerson person)
		{
			Console.WriteLine("Servicing a client of GetFullName...");
			return "Hello " + person.Name.FullName;
		}
		//*************************************************
		public Name ChangeName(IPerson person)
		{
			Console.WriteLine("Servicing a client of ChangeName...");
			return new Name("ServiceChanged" + person.Name.FirstName, "ServiceChanged" + person.Name.MiddleName, "ServiceChanged" + person.Name.LastName);
		}





        public IPerson GetPerson()
        {
            return new Customer(Guid.NewGuid(), new Name("Noel", "h", "hoo"));
        }

      
    }
}